<%@ include file="/common/taglibs.jsp"%>
<%if(request.getSession().getAttribute("role")== "ROLE_SUPER_ADMIN" || request.getSession().getAttribute("role")== "ROLE_ADMIN") { %>
<div style="margin-bottom:10px;" align="right">
	<ul class="glassList">
	    <li>
	        <a class="button-green" href="<c:url value='/showHolidayMaster'/>">Create New</a>
	    </li>
	</ul>
</div>
<% } %>

<div id="user-grid">
<%= request.getAttribute("holidayGridString") %>
<div id="gridRecordDetails"></div>
</div>



<%-- <div style="padding:5px;" align="left">
	<table id="instHeaderTable" class="reference">
		<tr>
			<th>Holiday Name</th>
			<th>From Date</th>
			<th>To Date</th>
			<th>Description</th>
			<%if(request.getSession().getAttribute("role")== "ROLE_SUPER_ADMIN" || request.getSession().getAttribute("role")== "ROLE_ADMIN") { %>
			<th>Status</th>	
			<% } %>
		</tr>
		<s:iterator value="holidayList" status="rowstatus">
			<tr>
				<td>
				<%if(request.getSession().getAttribute("role")== "ROLE_SUPER_ADMIN" || request.getSession().getAttribute("role")== "ROLE_ADMIN") { %>
					<a href='/editHoliday?method=showEditHoliday&holiday.id=${id}'>
						<s:property value="holidayName" />
					</a>
				<% } else{ %>
					<s:property value="holidayName" />
				<% } %>
				</td>
				<td><s:property value="fromDate" /></td>
				<td><s:property value="toDate" /></td>
				<td><s:property value="description" /></td>	
				<%if(request.getSession().getAttribute("role")== "ROLE_SUPER_ADMIN" || request.getSession().getAttribute("role")== "ROLE_ADMIN") { %>
				<td><s:property value="status" /></td>
				<% } %>
			</tr>
		</s:iterator>
	</table>
</div> --%>
